<?php include_once 'head.php' ?>
<!--<div class="container">-->
<div class="caption"><i class="fa fa-car" aria-hidden="true"></i>停车详情明细单</div>
<table class="table table-bordered">
    <tbody>
    <tr>
        <td>图片</td>
        <td><img src="images/c1.jpg"/></td>
    </tr>
    <tr>
        <td>停车单号</td>
        <td>1213313</td>
    </tr>
    <tr>
        <td>车牌号码</td>
        <td>浙A88888</td>
    </tr>
    <tr>
        <td>入场时间</td>
        <td>2017年5月9日17时12分</td>
    </tr>
    <tr>
        <td>停车时长</td>
        <td>1天24小时19分</td>
    </tr>
    <tr>
        <td>单价</td>
        <td>10元/时</td>
    </tr>
    <tr>
        <td>使用停车券</td>
        <td>没有</td>
    </tr>
    <tr>
        <td>停车费</td>
        <td>20</td>
    </tr>
    <tr>
        <td style="text-align:left;vertical-align:middle" rowspan="2">优惠&nbsp;</td>
        <td>
            <button name="yhq" class="btn  btn-primary">使用优惠券</button>
        </td>
    </tr>
    <tr>
        <td>
            <button name="yhq" class="btn  btn-primary">使用积分</button>
        </td>
    </tr>
    </tbody>
</table>
<?php if ("金额不为空"): ?>
    <div class="container" style="padding: 0px; width: 95%">
        <button type="button" class="btn btn-block btn-primary" onclick="window.location.href='pay.php'">去支付</button>
    </div>
<?php else : ?>
    <div class="container" style="padding: 0px; width: 95%">
        <button type="button" class="btn btn-block btn-primary" onclick="window.location.href='pay.php'">出场</button>
    </div>
    <?php
endif;
?>
<!--</div>-->